<{extends file="$tpl_dir/tpl_base.htm"}>
<{block name="title"}>在线报名<{/block}>
<{block name="css" append}>
<link type="text/css" rel="stylesheet" href="<{$config.url_assets}>/css/signup.css">
<style type="text/css">
body{background:#f5f5f5}
.index-foot{margin:34px 0;}
</style>
<{/block}>
<{block name="js" append}>
<script type="text/javascript">
window.school_config = <{$school_json}>;
</script>
<{/block}>
<{block name="body"}>
<div class="signup-head">
  <h1>在线报名</h1>
</div>
<form method="post" class="mod-form" autocomplete="off" id="signup_form">
  <div class="mod-rows_title">基本信息</div>
  <div class="mod-rows">
    <div class="mod-row mod-row_access act-school">
      <div class="hd required">申请就读学校</div>
      <div class="bd dt placeholder">请选择</div>
    </div>
    <div class="mod-row mod-row_access act-grade">
      <div class="hd required">申请就读年级</div>
      <div class="bd dt placeholder">请选择</div>
    </div>
    <div class="grade-detail hide"></div>
  </div>
  <div class="mod-rows_title">学生资料</div>
  <div class="mod-rows">
    <div class="mod-row">
      <div class="hd required">姓名</div>
      <div class="bd">
        <input type="text" name="name" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">身份证号</div>
      <div class="bd">
        <input type="text" name="idno" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">民族</div>
      <div class="bd">
        <input type="text" name="nation" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">身高(cm)</div>
      <div class="bd">
        <input type="number" placeholder="请输入数字" name="height" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">体重(kg)</div>
      <div class="bd">
        <input type="number" placeholder="请输入数字" name="weight" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row mod-row_vertical">
      <div class="hd required">现居住地址</div>
      <div class="bd">
        <textarea type="text" name="live_address" placeholder="请输入现居住地址" class="mod-textarea"></textarea>
      </div>
    </div>
    <div class="mod-row mod-row_vertical">
      <div class="hd required">家庭详细地址</div>
      <div class="bd">
        <textarea type="text" name="family_address" placeholder="请输入家庭详细地址" class="mod-textarea"></textarea>
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">现就读学校</div>
      <div class="bd">
        <input type="text" name="now_school" placeholder="报名小班可填“无”" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">现就读年级</div>
      <div class="bd">
        <input type="text" name="now_grade" placeholder="例：六年级1班" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row mod-row_vertical">
      <div class="hd required">自我评价</div>
      <div class="bd">
        <textarea type="text" name="appraise" placeholder="例：品行，性格，习惯，成绩，爱好等" class="mod-textarea"></textarea>
      </div>
    </div>
    <div class="mod-row mod-row_vertical">
      <div class="hd">曾获得荣誉</div>
      <div class="bd">
        <textarea type="text" name="honors" placeholder="选填" class="mod-textarea"></textarea>
      </div>
    </div>
  </div>
  <div class="mod-rows_title">家长资料</div>
  <div class="mod-rows">
    <div class="mod-row">
      <div class="hd">父亲姓名</div>
      <div class="bd">
        <input type="text" name="father_name" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd">父亲手机号码</div>
      <div class="bd">
        <input type="number" pattern="[0-9]*" name="father_phone" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd">父亲工作单位</div>
      <div class="bd">
        <input type="text" name="father_company" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd">母亲姓名</div>
      <div class="bd">
        <input type="text" name="mother_name" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd">母亲手机号码</div>
      <div class="bd">
        <input type="number" pattern="[0-9]*" name="mother_phone" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd">母亲工作单位</div>
      <div class="bd">
        <input type="text" name="mother_company" class="mod-input dt">
      </div>
    </div>
  </div>
  <div class="mod-rows_title">报名联系人资料</div>
  <div class="mod-rows">
    <div class="mod-row">
      <div class="hd required">姓名</div>
      <div class="bd">
        <input type="text" name="parent_name" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">手机号码</div>
      <div class="bd">
        <input type="number" pattern="[0-9]*" name="parent_phone" readonly="true" class="mod-input dt" value="<{$user.phone}>">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd required">与学生关系</div>
      <div class="bd">
        <input type="text" name="parent_clan" class="mod-input dt">
      </div>
    </div>
    <div class="mod-row">
      <div class="hd">电子邮箱</div>
      <div class="bd">
        <input type="text" name="parent_email" class="mod-input dt">
      </div>
    </div>
  </div>
  <div class="mod-rows_title">其他信息</div>
  <div class="mod-rows">
    <div class="mod-row mod-row_vertical"> 您从何获知我们学校
      <div class="bd">
        <div class="mod-checkbox mod-checkbox_3col clearfix"> <{foreach $options.follow_way as $value}>
          <label>
          <input type="checkbox" name="follow_way" value="<{$value}>">
          <span><{$value}></span></label>
          <{/foreach}> </div>
      </div>
    </div>
    <div class="mod-row mod-row_vertical">
      <div class="hd">备注留言</div>
      <div class="bd">
        <textarea type="text" name="remark" placeholder="选填" class="mod-textarea"></textarea>
      </div>
    </div>
  </div>
  <div class="mod-box"><a href="javascript:;" class="mod-btn mod-btn_primary">提交</a></div>
</form>
<{/block}>
<{block name="foot" append}>
<script type="text/javascript" src="<{$config.url_assets}>/js/signup.js"></script>
<{/block}>